package com.my.behaviourtype.chain.nohierarchy;

public class Filter1 implements Filter {

	@Override
	public void doFilter(StringBuffer request, StringBuffer response, FilterChain chain) {
		
		System.out.println("before 1");
		
		System.out.println("chain 1");
		request = request.append("---");
		response = response.append("------");
		chain.doFilter(request, response);
		
		System.out.println("after 1");
			
	}

}
